package org.idea.qiyu.framework.web.model;

/**
 * @Author linhao
 * @Date created in 10:31 上午 2021/8/31
 */
public class MessageResponseVO implements IResponseVO{

    private String msg;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public MessageResponseVO(String msg) {
        this.msg = msg;
    }

    public MessageResponseVO(){

    }

    public static final IResponseVO success(){
        return new MessageResponseVO();
    }

    public static final IResponseVO success(String msg){
        return new MessageResponseVO(msg);
    }
}
